/* ==================
          文本
 ==================== */
// 文字大小
@each $identifier in xs s m l xl xxl {
	.text-#{$identifier} {
		font-size: var(--uwo-font-size-#{$identifier});
	}
}

.text-Abc {
	text-transform: Capitalize;
}

.text-ABC {
	text-transform: Uppercase;
}

.text-abc {
	text-transform: Lowercase;
}

.text-price::before {
	content: '¥';
	font-size: 80%;
	margin-right: 4upx;
}

.text-cut {
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}

.text-bold {
	font-weight: bold;
}

.text-center {
	text-align: center;
}

.text-content {
	line-height: 1.6;
}

.text-left {
	text-align: left;
}

.text-right {
	text-align: right;
}

// 文字颜色
.text-primary {
	color: var(--uwo-color-primary, #00b0ff);
}
.text-success {
	color: var(--uwo-color-success, #76ff03);
}
.text-warning {
	color: var(--uwo-color-warning, #ff9100);
}
.text-error {
	color: var(--uwo-color-error, #ff1744);
}
.text-base {
	color: var(--uwo-text-color-base, #333);
}
.text-info {
	color: var(--uwo-text-color-info, #999);
}
.text-inverse {
	color: var(--uwo-text-color-inverse, #fff);
}
.text-placeholder {
	color: var(--uwo-text-color-placeholder, #808080);
}
.text-disable {
	color: var(--uwo-text-color-disable, #c0c0c0);
	cursor: not-allowed;
}
